package com.aspose.cells.b.a.b;

import java.awt.Rectangle;
import java.awt.geom.Area;

public class zr extends com.aspose.cells.b.a.b.e.za implements Cloneable {
   private static final zr a = new zr(-4194304, -4194304, 8388608, 8388608);

   public zr() {
      this((Area)a.a().clone());
   }

   public zr(Area var1) {
      super(var1);
   }

   public zr(zq var1) {
      this(new Area(var1.b()));
   }

   public zr(com.aspose.cells.b.a.b.a.ze var1) {
      this(new Area(var1.a()));
   }

   public zr(int var1, int var2, int var3, int var4) {
      this(new Area(new Rectangle(var1, var2, var3, var4)));
   }

   public zr(zp var1) {
      this(new Area(var1.l()));
   }

   public Area a() {
      return (Area)super.k();
   }

   public void b() {
      this.c();
   }

   public void c() {
   }

   public zr d() {
      return new zr((Area)((Area)super.k()).clone());
   }

   public void a(com.aspose.cells.b.a.b.a.ze var1) {
      if (var1 == null) {
         throw new IllegalArgumentException("path");
      } else {
         this.a().intersect(new Area(var1.a()));
      }
   }

   public void a(zq var1) {
      this.a().intersect(new Area(var1.b()));
   }

   public void b(com.aspose.cells.b.a.b.a.ze var1) {
      if (var1 == null) {
         throw new IllegalArgumentException("path");
      } else {
         this.a().exclusiveOr(new Area(var1.a()));
      }
   }

   public zq a(zi var1) {
      if (var1 == null) {
         throw new IllegalArgumentException("graphics");
      } else {
         return new zq(this.a().getBounds2D());
      }
   }

   public boolean b(zi var1) {
      if (var1 == null) {
         throw new IllegalArgumentException("graphics");
      } else {
         return this.a().isEmpty();
      }
   }

   public zr e() {
      return new zr((Area)this.a().clone());
   }

   // $FF: synthetic method
   public Object clone() throws CloneNotSupportedException {
      return this.e();
   }
}
